using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
//ok

namespace WCFDicing.DataContracts
{
    /// <summary>
    /// Akcje dla gracza w kosci a takze dla stolu gry
    /// </summary>
    [DataContract( Namespace = "http://WCFDicing.DataContracts/2008/01", Name = "DicingActionList" )]
    public enum DicingActionList : int 
    {
        //wygrana gracza
        [System.Runtime.Serialization.EnumMember( Value = "Win" )]
        Win,
        //przegrana gracza
        [System.Runtime.Serialization.EnumMember( Value = "Lost" )]
        Lost,
        //gracz obstawia lub na stole trwa licytacja
        [System.Runtime.Serialization.EnumMember( Value = "Bet" )]
        Bet,
        //gracz skasowal (na razie nie obslugiwane
        [System.Runtime.Serialization.EnumMember( Value = "Pass" )]
        Pass,
        //poczatek rozgrywki
        [System.Runtime.Serialization.EnumMember( Value = "StartPlaying" )]
        StartPlaying,
        //gracz rzuca 1. raz
        [System.Runtime.Serialization.EnumMember( Value = "Throwing" )]
        Throwing,
        //gracz celuje
        [System.Runtime.Serialization.EnumMember( Value = "Aiming" )]
        Aiming,
        //gracz czeka na dalsza czesc rozgrywki
        [System.Runtime.Serialization.EnumMember( Value = "Wait" )]
        Wait,
        //wyjscie z gry
        [System.Runtime.Serialization.EnumMember( Value = "LeaveGame" )]
        LeaveGame,
        //nastepna runda gry
        [System.Runtime.Serialization.EnumMember( Value = "NewRound" )]
        NewRound,
        //na stone nastepuje animacja
        [System.Runtime.Serialization.EnumMember( Value = "Animation" )]
        Animation,
        //pierwsza runda gry (trzeba wylosowac rzucajacego)
        [System.Runtime.Serialization.EnumMember( Value = "FirstRound" )]
        FirstRound
    }
}
